package com.yang.libs.bean

data class MainBean(
    val lastUpdate: String,
    val location: Location,
    val now: Now
) {
    data class Location(
        val id: String,
        val latitude: Double,
        val longitude: Double,
        val name: String,
        val path: String,
        val timezone: Int
    )

    data class Now(
        val humidity: Int,
        val precipitation: Int,
        val pressure: Int,
        val temperature: Double,
        val windDirection: String,
        val windDirectionDegree: Int,
        val windScale: String,
        val windSpeed: Double
    )
}

